<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数组</title>
    <script src="index.js"></script>
    <link rel="stylesheet" href="home.css">
</head>
<body>
    <button type="button" onclick="arrLength()">数组长度</button><br/>
    <button type="button" onclick="indexValue()">通过索引把对应的元素修改为新的值</button><br/>
    <button type="button" onclick="indexOf()">通过indexOf()来搜索一个指定的元素的位置</button><br/>
    <button type="button" onclick="slice()">slice()就是对应String的substring()版本，它截取Array的部分元素，然后返回一个新的Array</button><br/>
    <button type="button" onclick="push()">push()向Array的末尾添加若干元素</button><br/>
    <button type="button" onclick="pop()">pop()则把Array的最后一个元素删除掉</button><br/>
    <button type="button" onclick="unshiftAndShift()">unshift和shift</button><br/>
    <button type="button" onclick="sort()">sort</button><br/>
    <button type="button" onclick="reverse()">reverse</button><br/>
    <button type="button" onclick="splice()">splice</button><br/>
    <button type="button" onclick="concat()">concat</button><br/>
    <button type="button" onclick="join()">join</button><br/>
    <button type="button" onclick="MultidimensionalArray()">多维数组</button><br/>


</body>
</html>